package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 培训考核对象 train_grade
 * 
 * @author ruoyi
 * @date 2023-05-12
 */
public class TrainGrade extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 成绩编号 */
    @Excel(name = "成绩编号")
    private Long tgId;

    /** 员工编号 */
    @Excel(name = "员工编号")
    private Long employeeId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employeeName;

    /** 中期成绩 */
    @Excel(name = "中期成绩")
    private Long mediumGrade;

    /** 末期成绩 */
    @Excel(name = "末期成绩")
    private Long finalGrade;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Integer deleted;

    public void setTgId(Long tgId) 
    {
        this.tgId = tgId;
    }

    public Long getTgId() 
    {
        return tgId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setMediumGrade(Long mediumGrade) 
    {
        this.mediumGrade = mediumGrade;
    }

    public Long getMediumGrade() 
    {
        return mediumGrade;
    }
    public void setFinalGrade(Long finalGrade) 
    {
        this.finalGrade = finalGrade;
    }

    public Long getFinalGrade() 
    {
        return finalGrade;
    }
    public void setDeleted(Integer deleted) 
    {
        this.deleted = deleted;
    }

    public Integer getDeleted() 
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("tgId", getTgId())
            .append("employeeId", getEmployeeId())
            .append("employeeName", getEmployeeName())
            .append("mediumGrade", getMediumGrade())
            .append("finalGrade", getFinalGrade())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleted", getDeleted())
            .toString();
    }
}
